package com.bawei.lib_base

sealed class UIState {
    data class OnSuccess<out T>(val data:T,val type: StateType=StateType.DEFAULT):UIState()
    data class OnError(val msg:String):UIState()
    object OnLoading:UIState()
}